<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('stat',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
$block = array();
$block['id'] = 'stat';
$block['title'] = $lang['menu_stat'];
$block['link'] = array("\"stat.php?dn=index&ops=$sess[hash]\""=>$lang['stat_ref']);
}
?>